package com.supermap.dubbo.iot;

import com.alibaba.dubbo.config.annotation.Reference;
import com.alibaba.fastjson.JSONObject;
import com.supermap.dubbo.service.GWFSDubboService;
import org.springframework.stereotype.Component;

/**
 * @author xiaolu
 * @date 2018/6/11 下午5:16
 */
@Component
public class GWFSDubboConsumerService {

    @Reference(version = "1.0.0")
    GWFSDubboService gwfsDubboService;
    public JSONObject getGridDataWithCoordinate(JSONObject param) {
        return gwfsDubboService.getGridDataWithCoordinate(param);
    }


    public JSONObject getWeatherPhenomenaInGridWithCoordinate(JSONObject param) {
        return gwfsDubboService.getWeatherPhenomenaInGridWithCoordinate(param);
    }
}
